package com.example.handheld4_gsignal_app.data.models;

import com.google.gson.annotations.SerializedName;

/**
 * 网络信息数据模型
 */
public class NetworkData {
    @SerializedName("networkType")
    private String networkType;
    
    @SerializedName("operatorName")
    private String operatorName;
    
    @SerializedName("networkOperator")
    private String networkOperator;
    
    @SerializedName("cellId")
    private String cellId;
    
    @SerializedName("lac")
    private String lac;
    
    @SerializedName("mcc")
    private String mcc;
    
    @SerializedName("mnc")
    private String mnc;
    
    @SerializedName("rsrp")
    private Integer rsrp;
    
    @SerializedName("rsrq")
    private Double rsrq;
    
    @SerializedName("rssi")
    private Integer rssi;
    
    @SerializedName("snr")
    private Double snr;

    // 构造函数
    public NetworkData() {}

    public NetworkData(String networkType) {
        this.networkType = networkType;
    }

    // Getter和Setter方法
    public String getNetworkType() { return networkType; }
    public void setNetworkType(String networkType) { this.networkType = networkType; }

    public String getOperatorName() { return operatorName; }
    public void setOperatorName(String operatorName) { this.operatorName = operatorName; }

    public String getNetworkOperator() { return networkOperator; }
    public void setNetworkOperator(String networkOperator) { this.networkOperator = networkOperator; }

    public String getCellId() { return cellId; }
    public void setCellId(String cellId) { this.cellId = cellId; }

    public String getLac() { return lac; }
    public void setLac(String lac) { this.lac = lac; }

    public String getMcc() { return mcc; }
    public void setMcc(String mcc) { this.mcc = mcc; }

    public String getMnc() { return mnc; }
    public void setMnc(String mnc) { this.mnc = mnc; }

    public Integer getRsrp() { return rsrp; }
    public void setRsrp(Integer rsrp) { this.rsrp = rsrp; }

    public Double getRsrq() { return rsrq; }
    public void setRsrq(Double rsrq) { this.rsrq = rsrq; }

    public Integer getRssi() { return rssi; }
    public void setRssi(Integer rssi) { this.rssi = rssi; }

    public Double getSnr() { return snr; }
    public void setSnr(Double snr) { this.snr = snr; }
}